﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace PrimeAlgos
{
    public struct SieveNumber
    {
        public int  Value        { get; set; }
        public bool IsCrossed    { get; set; }


        /* 
         Calls default parameterless ctor (which is not allowed to be declare on structs, 
         So code inside ctor will not be called. and hence not required.
        
        public SieveNumber(int value, bool isCrossed) : this() 
        {
            this.Value = 0;
            this.IsCrossed = false;
        }
        */

        public override string ToString()
        {
            return Value.ToString() + ", " + IsCrossed.ToString();
        }
    }
}
